package com.hmy.contract.bo.request.contractProcess;

import com.hmy.ccp.common.request.BaseRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Map;

/**
 * @author seven.qi 齐胜南
 * @version 1.0
 * @description
 * @date 2023/12/25 13:08
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class ContractProcessRejectRequest extends BaseRequest {

    /**
     * 流程id
     */
    @ApiModelProperty("流程id")
    @NotNull(message = "流程id不能为空")
    private Long processId;

    /**
     * 任务id
     */
    @ApiModelProperty("任务id")
    @NotNull(message = "任务id不能为空")
    private Long taskId;

    /**
     * 合同id
     */
    @ApiModelProperty("合同id")
    @NotNull(message = "合同id不能为空")
    private Long contractId;

    /**
     * 流程变量
     */
    @ApiModelProperty("流程变量")
    @NotNull(message = "流程变量不能为空")
    private Map<String, Object> variables;

    /**
     * 任务意见
     */
    @ApiModelProperty("任务意见")
    private String comment;

}
